package cn.tedu.blackhorse.mapper;

import cn.tedu.blackhorse.pojo.entity.Job;
import cn.tedu.blackhorse.pojo.vo.JobListItemVO;
import cn.tedu.blackhorse.pojo.vo.JobStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface JobMapper {
    int insert(Job job);

    int deleteById(Long id);

    int deleteByIds(List<Long> ids);

    int updateById(Job job);

    int count();

    List<JobListItemVO> list();

    JobStandardVO getById(Long id);

    int countByName(String jobName);

}
